package com.hksj.gas.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
public class GasAlarmDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("节点路径")
    @NotNull(message = "节点路径不能为空")
    private String paths;

    @ApiModelProperty("科室明细值(字典明细value)")
    private String departmentItemValue;

    @ApiModelProperty(value = "专业名称code")
    private String code;

    @ApiModelProperty("1=欠压报警(低于最小阈值的报警) 2=过压报警(高于最大阈值的报警)")
    private String pushType;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty("查询起始时间 yyyy-MM-dd HH:mm:ss")
    private String startTime;

    @ApiModelProperty("查询截止时间 yyyy-MM-dd HH:mm:ss")
    private String endTime;

    @ApiModelProperty(value = "当前页 默认值为1")
    private Long pageNum = 1L;

    @ApiModelProperty(value = "分页大小 默认值为10")
    private Long pageSize = 10L;

}
